package top.weiliang.springboot3.service;

import top.weiliang.springboot3.base.PageBean;
import top.weiliang.springboot3.base.R;
import top.weiliang.springboot3.entity.TbClass;
import top.weiliang.springboot3.vo.PageVO;

import java.util.List;

public interface TbClassService {
    R<String> insert(TbClass tbClass);

    R<List<TbClass>>query(TbClass tbClass);

    R<PageVO<TbClass>>queryPage(PageBean pageBean, TbClass tbClass);

    R<TbClass> queryById(Integer id);

    R<String>update(TbClass tbClass);

    R<String>delete(Integer id);
}
